﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Designer.Event.NCL
{
    public class BeginUpdateDataSourceEvent : NCLEvent
    {
        public string Token { get; set; }

        public Guid DataSourceId { get; set; }

        public CPPEI.Coolzon.ServiceProxy.DesignServiceRef.DataSource DataSource { get; set; }

        public BeginUpdateDataSourceEvent(string token,
            CPPEI.Coolzon.ServiceProxy.DesignServiceRef.DataSource dataSource)
            : base(NCLEventState.Sending)
        {
            this.Token = token;
            this.DataSource = dataSource;
        }
    }
}
